<template>
  <div class="dashboard-container">
    <div>
      <tinymce
        :height="300"
        v-model="content"/>
    </div>
  </div>
</template>

<script lang="ts">
import Vue from 'vue'
import getters from '@/store/getter.ts'
import {request} from '@/lib/http'
import Tinymce from '@/views/components/Tools/Tinymce/index.vue'
export default Vue.extend({
  name: 'Home',
  components: { Tinymce },
  data () {
    return {
      currentRole: 'adminDashboard',
      content: '',
    }
  },
  computed: {
  },
  created () {
    console.log(process.env.VUE_APP_Host)
    console.log(getters.isCollapse(this.$store.state))
    request({
      url: 'SGService/GetRoles',
      data: {
      },
    }).then(res => {
      console.log(JSON.stringify(res))
    }, err => {
      console.log('非200状态码', err)
    })
  },
  methods: {
  },
})
</script>

<style scoped lang='scss'>
@import "../../styles/base.scss";
</style>
